package com.oa.system.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@TableName("sys_user_token")
@Data
public class SysUserToken extends Model<SysUserToken> {

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @TableId("user_id")
    private String userId;

    @TableField("access_token")
    private String accessToken;

    @TableField("last_update_time")
    private Date lastUpdateTime;
}
